﻿using RapidSalesAdminPortalAPI.DataAccess;
using WebAPI.Util;

namespace RapidSalesAdminPortalAPI.Models
{
    public class TransactionHistoryListRequest:BasePageInput
    {
        public string? TransactionStatus { get; set; }
        public string? LastUpdatedOnBegin { get; set; }
        public string? LastUpdatedOnEnd{ get; set; }
        public string SalesPoint { get; set; }
        public string Products { get; set; }
        public string? OrderNo { get; set; }
        //public DateTime? DataFeedReceivedOn { get; set; }
        public string? DataFeedResults { get; set; }
        public string? DataFeedPaymentRef { get; set; }
        public string? DataFeedBankRef { get; set; }
        public decimal? DataFeedAmount { get; set; }
        public string? DataFeedPaymentMethod { get; set; }
        public string? DataFeedAlertCode { get; set; }
    }

    public class TransactionHistoryListResponse
    {
        public Guid Id { get; set; }
        public string? TransactionStatus { get; set; }
        public DateTime? LastUpdatedOn { get; set; }
        public string SalesPointCode { get; set; }
        public string? OrderNo { get; set; }
        public string? GuestName { get; set; }
        public string? GuestEmail { get; set; }
        public DateTime? CheckOutTime { get; set; }
        public string? CheckOutProducts { get; set; }
        public decimal? CheckOutAmount { get; set; }
        public DateTime? DataFeedReceivedOn { get; set; }
        public string? DataFeedResults { get; set; }
        public string? DataFeedPaymentRef { get; set; }
        public string? DataFeedBankRef { get; set; }
        public decimal? DataFeedAmount { get; set; }
        public string? DataFeedPaymentMethod { get; set; }
        public string? DataFeedAlertCode { get; set; }
    }
}
